<script>
	import Vue from 'vue'
	import Tools from '@/util/Tools/index.js'
	export default {
		onLaunch: function() {
				 let menuButtonInfo = uni.getMenuButtonBoundingClientRect()
				 Vue.prototype.NavHeight = menuButtonInfo.bottom +10
			uni.getSystemInfo({
				success: function(e) {
					// #ifndef MP
					Vue.prototype.StatusBar = e.statusBarHeight;
					if (e.platform == 'android') {
						Vue.prototype.CustomBar = e.statusBarHeight + 50;
					} else {
						Vue.prototype.CustomBar = e.statusBarHeight + 45;
					};
					// #endif
		
					// #ifdef MP-WEIXIN
					Vue.prototype.StatusBar = e.statusBarHeight;
					let custom = wx.getMenuButtonBoundingClientRect();
					Vue.prototype.Custom = custom;
					Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight;
					// #endif		
		
					// #ifdef MP-ALIPAY
					Vue.prototype.StatusBar = e.statusBarHeight;
					Vue.prototype.CustomBar = e.statusBarHeight + e.titleBarHeight;
					// #endif
				}
			})

		},
		onShow: function() {
		},
		onHide: function() {
		}
	}
</script>

<style >
	/*每个页面公共css */
	
	@import url("./common/iconfont.css");
	@import "uview-ui/index.scss"
	/* 整体布局 */
	page {
		height: 100vh;
	}
	body {
		background-color: #FFFFFF;

	}
	uni-radio .uni-radio-input {
		width: 26rpx;
		height: 26rpx;
	}
</style>
